﻿using System.Data.Common;
using System.Data.OleDb;

namespace DataAccess
{
    class OleDbDatabaseDriver : DatabaseDriver
    {
        public override string ParameterPlaceHolder
        {
            get { return "?"; }
        }

        public override void SetParameterType(DbParameter parameter, int type)
        {
            OleDbParameter p = (OleDbParameter)parameter;
            p.OleDbType = (OleDbType)type;
        }
    }
}